package com.jwell.panprovider.contract

import com.jwell.cargoapp.ui.base.IBaseView
import com.jwell.driverapp.tools.BaseSubscriber
import com.jwell.panprovider.entity.TransportPlaneBean
import com.jwell.panprovider.model.TransportPlaneModel

/**
 * Created by 76577 on 2018/4/21.
 * 运输计划
 * @author 765773123
 */
class TransportPlaneContract {
    interface View : IBaseView {
        fun showListData(data: List<TransportPlaneBean>, isFresh: Boolean)

        fun showListDataFailed(isFresh: Boolean, str: String)
    }

    interface Presenter {
        fun getListData(request: TransportPlaneModel.RequestData)
    }

    interface Model {
        fun getListData(request: TransportPlaneModel.RequestData, baseSubscriber: BaseSubscriber)
    }
}